﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Toom.CellularAutomata.Parser
{
	class ExpressionParser
	{

		public ExpressionParser()
		{

		}


		public List<string> eat1(string input)
		{
			List<string> tokensOut = new List<string>();
			//StringBuilder myToken = new StringBuilder();

			string[] separators1 = new string[] {
				" ",
				"\t",
				"\r",
				"\n"
				};

			string[] tokens1 = input.Split( separators1, StringSplitOptions.RemoveEmptyEntries);
			
			tokensOut.AddRange(tokens1);
			

			return tokensOut;
		}//eat1()

	}//class CaParser
}//ns
